dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleBFile Class / Read Method / Read(Byte[],Int32,Int32) Method
The byte array buffer to be populated.
The zero-based byte offset in the buffer.
The amount of bytes to read.

In This Topic
Read(Byte[],Int32,Int32) Method
In This Topic
Reads a sequence of bytes from the current OracleBFile stream and advances the position within the stream by the number of bytes read.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function Read( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
) As Integer
 

Parameters

buffer
The byte array buffer to be populated.
offset
The zero-based byte offset in the buffer.
count
The amount of bytes to read.

Return Value

The total number of bytes read into the buffer.
Remarks
The Read method reads a maximum of count bytes from the current stream and stores them in buffer beginning at offset position. The current position within the stream is advanced by the number of bytes read. The Read method returns 0 if the position is at the end of the stream.
See Also